package com.tjtt.tdm.system.dao;
import java.io.IOException;
import java.util.Map;

import com.tjtt.tdm.base.EntityDAO;
import com.tjtt.tdm.base.PageResult;
import com.tjtt.tdm.exception.ServiceException;
import com.tjtt.tdm.system.bean.SysCerify;
/**
 * 
 * @author leung
 *
 */
public interface CerifyDao extends EntityDAO<SysCerify>{
	/**
	 * 查询所有证书
	 * @throws Exception
	 */
	public PageResult querycerifyInfo(Map<String, String> filterMap,String userid);
	/**
	 * 删除证书
	 * @throws IOException
	 * @throws ServiceException void
	 * @author 
	 * @date
	 */
	public void deleteCerity(SysCerify sysCerify);

	public SysCerify findCerityById(long id);
	public SysCerify checkOneCerifyById(Long id);

}
